﻿html {
    font-size: 16px;
    font-family: Roboto,'Microsoft YaHei';
}

/*scrollbar*/
::-webkit-scrollbar-track {
    border-radius: 15px;
    margin: 12px 0 0 0;
}

::-webkit-scrollbar {
    width: 5px;
    height: 5px;
    margin: 5px 0;
}

::-webkit-scrollbar-thumb {
    background: #A3AED0;
    opacity: 0.5;
    border-radius: 4px;
}

/*组件样式全局修改start*/
.m-radio i {
    font-size: 21px !important;
}

.m-input__slot {
    margin-bottom: 0px !important;
}

.m-messages {
    min-height: 0px !important;
}

.m-navigation-drawer__border {
    width: 0
}

.m-card {
    box-shadow: 0px 0px 0px 0px rgb(0 0 0 / 20%), 0px 0px 0px 0px rgb(0 0 0 / 14%), 0px 0px 0px 0px rgb(0 0 0 / 12%) !important;
    border-radius: 20px;
}

    .m-card.line {
        border-radius: 10px !important;
    }

.m-card__text {
    padding: 16px 24px;
    height: 100%;
}

.m-input .m-input__icon .mdi-menu-down {
    color: #A3AED0;
}

.m-input .m-label {
    /*BUTTON-按钮*/
    font-family: Roboto !important;
    font-style: normal !important;
    font-weight: 500 !important;
    font-size: 0.875rem !important;
    /*default color*/
    color: #7681AB;
}

.m-input--checkbox .mdi-checkbox-blank-outline {
    color: #A3AED0 !important;
    caret-color: #A3AED0 !important;
}

.theme--light .m-input--is-disabled .mdi-checkbox-blank-outline {
    color: #E9EDF7 !important;
    caret-color: #E9EDF7 !important;
}

.theme--light .m-input--is-disabled .mdi-checkbox-marked {
    color: #E9EDF7 !important;
    caret-color: #E9EDF7 !important;
}

.m-input--checkbox .m-input--selection-controls__ripple:before {
    content: none;
}

.m-input--selection-controls__input:hover .mdi-checkbox-blank-outline {
    color: #4318FF !important;
    caret-color: #4318FF !important;
}

.m-radio .mdi-radiobox-blank {
    color: #A3AED0 !important;
    caret-color: #A3AED0 !important;
}


.table-header-fill .m-data-table-header tr {
    background: #F6F8FD;
}

.table-border-none td, th {
    border-bottom: 0px !important;
    box-shadow: none;
}

.table-border-solid td, th {
    border-bottom: 0 !important;
    box-shadow: none;
}

.primaryText .primaryText {
    color: #4318FF !important;
    caret-color: #4318FF !important;
}

.m-pagination__navigation, .m-pagination__item {
    box-shadow: 0px 0px 0px 0px rgb(0 0 0 / 20%), 0px 0px 0px 0px rgb(0 0 0 / 14%), 0px 0px 0px 0px rgb(0 0 0 / 12%) !important;
}

.m-btn--is-elevated {
    box-shadow: none !important;
}

.hide-shadow {
    box-shadow: none !important;
    border: none;
}

.theme--light.m-icon {
    color: #7681AB;
}

input::-webkit-input-placeholder {
    color: #7681AB !important;
    font-size: 12px !important;
}

.m-page-tabs .m-slide-group__prev.m-slide-group__prev--disabled {
    flex: none !important;
    min-width: 0px !important;
}

.remover-ripple .m-ripple__container {
    opacity: 0 !important;
}

.pro-nav > .m-tabs-bar {
    background-color: transparent !important;
}

.pro-nav .m-tab:before {
    background-color: transparent;
}

.m-btn {
    text-transform: none !important;
}

.list-unstyled {
    list-style: none;
}

.vertical-center {
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
}

.linear-gradient-purple {
    background: linear-gradient(118deg,#7367f0,rgba(115,103,240,.7))
}

.grey-bg {
    background-color: #f8f8f8;
}

.hover-pointer {
    cursor: pointer;
}

.justify-text-align {
    text-align: justify !important;
}

.relate-group .m-icon {
    font-size: 40px;
}

.relate-group .m-slide-group__next {
    margin-left: 10px;
}

.pointer-events-none {
    pointer-events: none;
}

.mtab-tab-linear-primary {
    background: linear-gradient(270deg, #4318FF 5.56%, rgba(67, 24, 255, 0) 100%);
}

.mtab-tab-linear-neutral {
    background: linear-gradient(270deg, #E9EDF7 0%, rgba(233, 237, 247, 0) 100%);
}

.mtab-tab-line {
    align-self: stretch;
    margin: 10px 0px;
    width: 87px;
    height: 6px;
    border-radius: 60px;
}

.mtab-tab-indicator {
    margin-top: 3px;
    margin-left: -1px;
    align-self: stretch;
    width: 22px;
    height: 22px;
}

.mtab-tab-indicator-primary {
    border: 4px solid #4318FF;
    box-sizing: border-box;
}

.mtab-tab-indicator-neutral {
    background: #F0F3FA;
    border: 4px solid #A3AED0;
    box-sizing: border-box;
}

.mtab-tab-title {
    position: absolute;
    top: 29px;
    font-family: Roboto;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
    color: #1B2559;
}

/*组件样式全局修改end*/

.coupons.m-text-field > .m-input__control > .m-input__slot:before {
    border-color: transparent;
    border-style: hidden;
}

.coupons.m-text-field > .m-input__control > .m-input__slot:after {
    border-color: transparent;
    border-style: hidden;
}

.coupons .m-input__control .m-text-field__slot input::-webkit-input-placeholder {
    font-family: Roboto !important;
    font-style: normal !important;
    font-weight: bold !important;
    font-size: 1rem !important;
    line-height: 1.1875rem !important;
    letter-spacing: 0.009375rem !important;
    color: #323D6F !important;
}

.m-text-field.m-input--dense:not(.m-text-field--outlined) .m-text-field__prefix, .m-text-field.m-input--dense:not(.m-text-field--outlined) .m-text-field__suffix, .m-text-field.m-input--dense:not(.m-text-field--outlined) input {
    padding-top: 0;
}

.full-width {
    width: 100% !important;
}

.full-height {
    height: 100% !important;
}

.card-text {
    line-height: 1.5rem;
    box-sizing: border-box;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}

.btn .m-label {
    color: #323D6F;
    font-family: Roboto;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
}

/*Pm*/
.env-list {
    margin: 8px 0 !important;
    height: 48px !important;
    line-height: 48px;
}

.env-list .m-list-item__title {
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    color: #A3AED0;
}

.env-list .m-list-item__content {    
    height: 48px !important;
    padding: 0;
}

.m-list-item-group .env-list.m-list-item--active:not(.m-icon) {
    background: #4318FF !important;
    color: #fff !important;
}

.m-list-item-group .env-list.m-list-item--active .pencil.m-icon {
    color: #fff !important;
}

.m-list-item-group .env-list.m-list-item--active .m-list-item__title {
    color: #fff !important;
}

.env-list.m-list-item:not(.env-list.m-list-item--active):hover .pencil.m-icon {
    color: #1B2559 !important;
}

.env-list.m-list-item:hover .m-list-item__title {
    color: inherit !important;
}

.env-list.theme--light.m-list-item:hover::before {
    opacity: 0.08 !important;
    border-radius: 8px !important;
}

.env-list.m-list-item--link:before {
    border-radius: 8px !important;
}

.env-toolbar .m-toolbar__content {
    border-radius: 20px !important;
}

.cluster-tabs .m-tab {
    font-family: Roboto;
    font-style: normal;
    font-weight: normal;
    font-size: 1rem !important;
    line-height: 28px;
    margin: 0 4px;
    text-transform: none;
}

.cluster-tab-active .m-icon {
    color: inherit !important;
}

.cluster-tabs .m-tab:not(.m-tab--active) {
    color: rgb(118, 129, 171) !important;
}

.cluster-tab-active {
    color: #fff !important;
    background: #4318FF !important;
    border-radius: 8px !important;
}

.cluster-tab-active i.m-icon.m-icon.mdi.mdi-pencil {
    color: #fff !important;
}

.cluster-tabs .m-tab:not(.m-tab--active.cluster-tab-active):hover {
    background: #F6F8FD !important;
    border-radius: 8px !important;
    color: #1B2559 !important;
}

.cluster-tabs .m-tab:not(.m-tab--active.cluster-tab-active):hover .m-icon {
    color: #1B2559 !important;
}

.cluster-tabs .m-tab::before {
    border-radius: 8px !important;
}

.cluster-tabs .m-slide-group__content.m-tabs-bar__content {
    display: flex;
    align-items: center;
}

.text-overflow {
    -webkit-line-clamp: 1;
    word-break: break-all;
    overflow: hidden;
    white-space: pre-wrap;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.text-overflow2 {
    -webkit-line-clamp: 2;
    word-break: break-all;
    overflow: hidden;
    white-space: pre-wrap;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.m-menu__content {
    max-width: 636px !important;
}

.app-tab .m-window-item.m-window-item--active {
    height: 100% !important;
}

.project-expansion-panel-header::before {
    content: none !important;
}

.m-btn--disabled span.emphasis--text {
    color: rgba(0, 0, 0, 0.26) !important;
}

.project-list .m-expansion-panel:last-child {
    margin-bottom: 0 !important;
}

.m-list-item--disabled {
    background-color: rgb(41 50 59 / 6%) !important;
}

/* add button */
.m-btn-add {
    border-radius: 8px;
    border: 2px dashed #e9edf7;
}

.m-btn-add:hover {
    background: #f6f8fd !important;
}

.m-btn-add:active {
    background: #e9edf7 !important;
}

.m-btn-add-environment {
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 24px;
}

.m-btn-add-cluster {
    position: fixed;
    right: 48px;
}
/* SSelect selected background-color */
.m-input .m-input__control .m-select__selections .m-chip {
    background-color: #f6f8fd !important;
}

.light-blue-color {
    color: #485585 !important;
}
.translucency-blue-color {
    color: #A3AED0 !important;
}

.m-btn-add-project:hover {
    background-color: #6946FF !important;
}

.m-btn-add-project:active {
    background-color: #3613CC !important;
}
.env-list:hover {
    background-color: #F6F8FD;
}

.cluster-tabs .m-tab {
    height: 48px;
}

.m-card-wrap {
    padding: 8px;
}

.scrollbar-base::-webkit-scrollbar-thumb{
  background: #A3AED0;
  opacity: 0.5;
  border-radius: 4px;
}    
.scrollbar-4::-webkit-scrollbar {
  width: 4px;
}
.scrollbar-8::-webkit-scrollbar {
  width: 8px;
}
